package univ.lille1.fr.car.ejb;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Utilisateur")

public class Utilisateur implements Serializable {

	private static final long serialVersionUID = 6472999747572987776L;
	@Id
	private String pseudo;
	private String motdepasse;

	public Utilisateur() {}

	public Utilisateur(String pseudo, String mdp) {
		this.pseudo = pseudo;
		this.motdepasse = mdp;
	}

	public String getPseudo() {
		return pseudo;
	}

	public void setPseudo(String pseudo) {
		this.pseudo = pseudo;
	}

	public String getMotdepasse() {
		return motdepasse;
	}

	public void setMotdepasse(String motdepasse) {
		this.motdepasse = motdepasse;
	}

	

}
